﻿@using Sohobloo.SoPermission.Web.Models
@model GroupModel
@using(Ajax.BeginForm("Add", new AjaxOptions()))
{
    <fieldset>
        <div>
            @Html.LabelFor(model => Model.Name)
            @Html.TextBoxFor(model => Model.Name)
            @Html.ValidationMessageFor(model => Model.Name)
        </div>
        <div>
            @Html.LabelFor(model => Model.Description)
            @Html.TextBoxFor(model => Model.Description)
        </div>
        <div>
            @Html.LabelFor(model => Model.Enabled)
            @Html.CheckBoxFor(model => Model.Enabled)
        </div>
    </fieldset>
}
@Scripts.Render("~/bundles/jqueryval")